// API响应类型
export interface ApiResponse<T = any> {
  code: number
  data: T
  message: string
}

// 登录参数类型
export interface LoginParams {
  username: string
  password: string
}

// 用户信息类型
export interface UserInfo {
  id: number
  username: string
  nickname?: string
  avatar?: string
  email?: string
  phone?: string
  roles: string[]
  permissions: string[]
} 